from rest_framework.serializers import ModelSerializer
from home import models


class NavSerializer(ModelSerializer):
    class Meta:
        model = models.Nav
        fields = '__all__'


class BannerSerializer(ModelSerializer):
    class Meta:
        model = models.Banner
        fields = '__all__'
